<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>考核实施</title>
    <link rel="stylesheet" href="./layui.css"> 
    <style>
        .layui-table-view .layui-table td[data-edit] {
            cursor: text;
            background-color: #F0F8FF;
        }

        .layui-table-view .layui-table td[data-edit]:hover:after {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            border: 1px solid #03A9F4;
            pointer-events: none;
            content: "";
        }
    </style>
</head>

<body>
    <div class="body_color"> 
        <table class="layui-hide mt1rem liu_table" id="table02"></table>
        <div class="layui-form-item mt4rem float-r">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn layui-bg-blue" lay-submit="" lay-filter="demo-val">提交</button>
                <button type="reset" class="layui-btn layui-btn-primary layui-border-blue" id="btnCancel">取消</button>
            </div>
        </div>
    </div>
</body>

</html>
<script src="../layui/layui.js"></script> 


<script>
    layui.use(function () {
        var laypage = layui.laypage;
        var table = layui.table;

        table.render({
            elem: "#table02", //指定原始表格元素选择器（推荐id选择器） 
            skin: "line",
            page: {
                limit: 8,//每页数据条数 
                theme: '#1E9FFF',
                layout: ['prev', 'page', 'next', 'limit', 'count']
            },
            cols: [//设置表头
                [
                    // { field: "name01", title: "被考核人", minWidth: 100, fixed: 'left', },

                    { field: "name07", title: "考核指标", minWidth: 180, fixed: 'left', },
                    { field: "name08", title: "评价方法", minWidth: 160, fixed: 'left', },
                    { field: "name09", title: "权重", minWidth: 80, fixed: 'left', },
                    { field: "name10", title: "权重类型", minWidth: 130, fixed: 'left', },
                    // { field: "name11", title: "考核记录", minWidth: 80, fixed: 'left', },
                    { field: "name12", title: "目标", minWidth: 80, fixed: 'left', },
                    { field: "name13", title: '考核结果(%) <i class="layui-icon">&#xe642</i>', minWidth: 130, edit: 'editable', fixed: 'left', },
                    { field: "name14", title: "评分", minWidth: 80, fixed: 'left', },

                    { field: "name02", title: "部门", minWidth: 100, },
                    { field: "name03", title: "状态", minWidth: 100, },
                    { field: "name04", title: "时间", minWidth: 150, },
                    { field: "name05", title: "合同状态", minWidth: 100, },
                    { field: "name06", title: "模板类型", minWidth: 100, },


                    { field: "name15", title: '备注 <i class="layui-icon">&#xe642</i>', minWidth: 130, edit: 'editable', fixed: 'right' },

                ],
            ],
            data: [
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "月工作计划完成情况上级评分",
                    name08: "得分百分比乘以权重",
                    name09: "20",
                    name10: "百分比 (平均)",
                    name11: "查看",
                    name12: "100%",
                    name13: "",
                    name14: "0",
                    name15: "",
                },
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "报备有效项目的达成率",
                    name08: "达成率乘以权重",
                    name09: "5",
                    name10: "百分比 (平均)",
                    name11: "查看",
                    name12: "100%",
                    name13: "",
                    name14: "0",
                    name15: "",
                },
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "计划签约信息准确率",
                    name08: "准确率在80~120%以内不扣分；50~80%和120~150% 得分50%；＜50%和＞150% 该项不得分",
                    name09: "10",
                    name10: "数值 (平均)",
                    name11: "查看",
                    name12: "100",
                    name13: "",
                    name14: "0",
                    name15: "",
                },
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "计划外签约",
                    name08: "当月计划外签约项目金额累计超过50万，该项不得分。计划外签约50万以内不扣分。",
                    name09: "5",
                    name10: "数值 (平均)",
                    name11: "查看",
                    name12: "100",
                    name13: "",
                    name14: "0",
                    name15: "",
                },
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "计划回款金额达成率",
                    name08: "每低于目标值1%，扣0.5分达成率＜60%，该项不得分",
                    name09: "10",
                    name10: "数值 (平均)",
                    name11: "查看",
                    name12: "100",
                    name13: "",
                    name14: "0",
                    name15: "",
                },
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "计划外回款",
                    name08: "当月计划外回款项目金额累计超过20万，该项不得分。计划外回款20万以内不扣分。",
                    name09: "5",
                    name10: "数值 (平均)",
                    name11: "查看",
                    name12: "100",
                    name13: "",
                    name14: "0",
                    name15: "",
                },
                {
                    name02: "外贸部",
                    name03: "未评价",
                    name04: "2024-05",
                    name05: "合同期",
                    name06: "月度",
                    name07: "重点项目跟踪记录和预签项目未完成原因",
                    name08: "每月底提交重点项目跟踪记录表 反馈当月上报预签项目未完成原因",
                    name09: "20",
                    name10: "百分比 (平均)",
                    name11: "查看",
                    name12: "100",
                    name13: "",
                    name14: "0",
                    name15: "",
                },

            ],
        });
    }); 
</script>